<ul class="list-group">
	{foreach from=$articlelist item=ainfo}
	<li class="list-group-item"><span class="pull-right">{$ainfo->adddate}</span><a href="{formaturl type='article' siteurl=$siteurl name=$ainfo->filename}">{$ainfo->title}</a></li>
	{/foreach}
</ul>
<div class="panel-body">
	<div class="m-pager">
		<label>共{$total}个文章 当前{$curpage}/{$totalpage}页 </label>
		{assign var="nextpage" value="`$curpage+1`"}
		{assign var="prepage" value="`$curpage-1`"}
		<span class="fr">                
		{if ($curpage > 1)}
		<a href="{formaturl type="category" siteurl=$siteurl name=$category->filename}">首页</a>
		<a href="{formaturl type="category" siteurl=$siteurl name=$category->filename page=$prepage}">上一页</a>
		{/if}
		{if ($curpage > 0) && ($curpage < $totalpage)}
		<a href="{formaturl type="category" siteurl=$siteurl name=$category->filename page=$nextpage}">下一页</a>
		<a href="{formaturl type="category" siteurl=$siteurl name=$category->filename page=$totalpage}">尾页</a>
		{/if}               
		</span>
	</div>
</div>